import { AppRouteRecordRaw } from '@/types/router';
import { LAYOUT } from '../../constants';

const home: AppRouteRecordRaw = {
  orderBy: 0,
  path: '/home',
  name: 'Home',
  redirect: '/home/index',
  component: LAYOUT,
  meta: {
    title: 'Home',
    icon: 'code',
    noPerm: true
  },
  children: [
    {
      path: 'index',
      name: 'HomeIndex',
      component: () => import('@/views/home/index.vue'),
      meta: {
        title: 'Home',
        icon: 'analysis'
      }
    }
  ]
};

export default home;
